<template>
  <el-row :gutter="8">
    <el-col :span="12">
      <el-divider>组织岗位</el-divider>
      <job-table @rowClick="(row) => selectJob = row" />
    </el-col>
    <el-col :span="12">
      <el-divider>授权用户</el-divider>
      <user-job :select-job="selectJob" />
    </el-col>
  </el-row>
</template>

<script>
import JobTable from "@/views/system/job/JobTable";
import UserJob from "@/views/system/job/UserJob";
export default {
  name: "GroupJob",
  components: {UserJob, JobTable},
  data(){
    return {
      selectJob: {}
    }
  }
}
</script>

<style scoped>

</style>
